const express = require('express')
const MangerCreateRouter = express.Router()
const expressJoi = require('@escook/express-joi')
const manager_create_schema = require('../schema/schema')
const login_schema = require('../schema/schema')
    // 导入manager
const MangerCreateHandle = require('../router_handler/manager')

// MangerCreateRouter.post('/users', MangerCreateHandle.Create)
MangerCreateRouter.post('/users', expressJoi(manager_create_schema.manager_create_schema), MangerCreateHandle.Create)

module.exports = MangerCreateRouter